package cn.keduox.entity;

import cn.keduox.annotation.Column;
import cn.keduox.annotation.Id;
import cn.keduox.annotation.Key;
import cn.keduox.annotation.Table;

import java.util.Date;

/**
 * 书本文档信息类
 */
@Table(name = "book_txt")
public class BookTxt {
    @Id(name = "id")
    @Column(name = "id")
    @Key(farther = "book_txt")
    private String id;
    @Column(name = "feature_url")
    private String featureUrl;
    @Column(name = "content_url")
    private String contentUrl;
    @Column(name = "catalog_url")
    private String catalogUrl;
    @Column(name = "relinfo_url")
    private String relinfoUrl;
    @Column(name = "authorinfo_url")
    private String authorinfoUrl;
    @Column(name = "create_by")
    private String createBy;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_by")
    private String updateBy;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "del_flag")
    private Integer delFlag;

    /**
     * 书籍外键
     */
    @Column(name = "book_id")
    private String bookId;


    public BookTxt() {
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
    /**
     * 书籍特色
     */
    private String feature;
    /**
     * 书籍内容简介
     */
    private String content;
    /**
     * 书籍目录
     */
    private String catalog;
    /**
     * 书籍相关资料
     */
    private String relinfo;
    /**
     * 书籍作者信息
     */
    private String authorinfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFeatureUrl() {
        return featureUrl;
    }

    public void setFeatureUrl(String featureUrl) {
        this.featureUrl = featureUrl;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }

    public String getCatalogUrl() {
        return catalogUrl;
    }

    public void setCatalogUrl(String catalogUrl) {
        this.catalogUrl = catalogUrl;
    }

    public String getRelinfoUrl() {
        return relinfoUrl;
    }

    public void setRelinfoUrl(String relinfoUrl) {
        this.relinfoUrl = relinfoUrl;
    }

    public String getAuthorinfoUrl() {
        return authorinfoUrl;
    }

    public void setAuthorinfoUrl(String authorinfoUrl) {
        this.authorinfoUrl = authorinfoUrl;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public String getRelinfo() {
        return relinfo;
    }

    public void setRelinfo(String relinfo) {
        this.relinfo = relinfo;
    }

    public String getAuthorinfo() {
        return authorinfo;
    }

    public void setAuthorinfo(String authorinfo) {
        this.authorinfo = authorinfo;
    }
}
